/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package co.com.ces4.produccion.client;

import co.com.ces4.produccion.jpa.entities.LineaProduccion;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import java.util.List;

/**
 *
 * @author Sebastian
 */
@RemoteServiceRelativePath("lineaService")
public interface LineaProduccionService extends RemoteService {

    LineaProduccion guardarLinea(LineaProduccion linea) throws RuntimeException;

    void actualizarLinea(LineaProduccion linea) throws RuntimeException;

    List<LineaProduccion> getLineas() throws RuntimeException;

    List<LineaProduccion> getLineaList(String codigo, String descripcion) throws RuntimeException;

    LineaProduccion getLineaXId(Integer codigo) throws RuntimeException;

    void desactivarLinea(List<LineaProduccion> lineas) throws RuntimeException;
}
